<?php
namespace app\backend\models;

use app\backend\lib\ArDBLib;

class TaskModel extends ArDBLib{

    public static function tableName(){
        return '@task';
    }

    public function getTaskAll(){
        return self::find()->orderBy(' task_add_time DESC,task_frequency DESC')->all();
    }

}